package main

func checkStraightLine(coordinates [][]int) bool {
	if len(coordinates) < 3 {
		return true
	}
	for i := 2; i < len(coordinates); i++ {
		if (coordinates[1][1]-coordinates[0][1])*(coordinates[i][0]-coordinates[0][0]) !=
			(coordinates[1][0]-coordinates[0][0])*(coordinates[i][1]-coordinates[0][1]) {
			return false
		}
	}
	return true
}

func main() {

}
